
function init() {
  const btn = document.getElementById('btn')
  const praise = document.getElementsByClassName('praise')[0]
  btn.onclick = function () {
    const value = parseInt(praise.innerHTML)
    praise.innerHTML = value + 1
  }
}

init()